//
//  NewsData.swift
//  HttpStydu
//
//  Created by yongkang on 2017/8/10.
//  Copyright © 2017年 sheng. All rights reserved.
//

import Foundation
class NewsData: NSObject {
    
    var newsId:Int?
    var newsTitle: String?
    var newsLink: String?
    var isSpread :Int?
    var newsType :Int?
    var pubTime: String?
    var webLink: String?
    var newsCategory: String?
    var newsCreateTime: String?
    var newsImage: String?
    var commentCount:Int?
    
    init(dict: [String: AnyObject]) {
        super.init()
        newsTitle = dict["newsTitle"] as? String
        newsLink = dict["newsLink"] as? String
        pubTime = dict["pubTime"] as? String
        webLink = dict["webLink"] as? String
        newsCategory = dict["newsCategory"] as? String
        newsCreateTime  = dict["newsCreateTime"] as? String
        newsImage   = dict["newsImage"] as? String
        commentCount   = dict["commentCount"] as? Int
        
    }
    
}
